package com.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

//国外板块数据封装
@ApiModel(description = "国外板块数据封装")
@Data
public class OuterMarketDomain {
    //大盘名称
    @ApiModelProperty("大盘名称")
    private String name;

    //当前大盘点
    @ApiModelProperty("当前大盘点")
    private BigDecimal curPoint;

    //涨跌值
    @ApiModelProperty("涨跌值")
    private BigDecimal upDown;

    //涨幅
    @ApiModelProperty("涨幅")
    private BigDecimal rose;

    //当前时间
    @ApiModelProperty("当前时间")
    @JsonFormat(pattern = "yyyyMMdd")
    private Date curTime;

}
